<template>
	<view class="manage-container">
		<scroll-view class="manage-scroll" scroll-y :show-scrollbar="false">
			<!-- 猪小妹餐厅管理模块 -->
			<manage-module :manageModule="restaurantManage"></manage-module>
		</scroll-view>
	</view>
</template>

<script setup>
	import {ref} from "vue";
	
	const restaurantManage = ref({
		manageName:"猪小妹餐厅管理",
		manageIcon:"../../static/images/index/rice.png",
		manageGrids:[
			{
				gridIcon:"../../static/images/manage/AvailableRestaurantDishes.png",
				gridName:"已上架菜品",
				gridNavigateUrl:"/pages/manage/restaurant_manage/restaurant-available-dishes"
			},
			{
				gridIcon:"../../static/images/manage/RemovedRestaurantDishes.png",
				gridName:"未上架菜品",
				gridNavigateUrl:"/pages/manage/restaurant_manage/restaurant-removed-dishes"
			},
			{
				gridIcon:"../../static/images/manage/AddRestaurantDishes.png",
				gridName:"新增菜品",
				gridNavigateUrl:"/pages/manage/restaurant_manage/restaurant-add-dishes"
			},
			{
				gridIcon:"../../static/images/manage/AvailableRestaurantCategories.png",
				gridName:"已上架类别",
				gridNavigateUrl:"/pages/manage/restaurant_manage/restaurant-available-categories"
			},
			{
				gridIcon:"../../static/images/manage/RemovedRestaurantCategories.png",
				gridName:"未上架类别",
				gridNavigateUrl:"/pages/manage/restaurant_manage/restaurant-removed-categories"
			},
			{
				gridIcon:"../../static/images/manage/AddRestaurantCategories.png",
				gridName:"新增类别",
				gridNavigateUrl:"/pages/manage/restaurant_manage/restaurant-add-categories"
			}
		]
	});
	
	
	
</script>

<style lang="scss" scoped>
	.manage-container{
		height: calc(100vh - 94px);
		overflow-y: hidden;
		.manage-scroll{
			height: 100%;
		}
	}
</style>
